main(){int t,p,m,n;scanf("%d",&t);p=t;while(p--){scanf("%d%d",&m,&n);printf("Scenario #%d:\n",t-p);m*=n;n=(m&1)?41:0;printf("%d.%02d\n\n",m,n);}}
